package com.zhiyou.crud.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Data
@AllArgsConstructor
@NoArgsConstructor
//实名信息
@Table(name = "`real`")
public class Real {
    @Id
    private Integer rno;//编号
    private Integer uno;//用户编号
    @Column(name = "ID")
    private String ID;//身份证
    private String rname;//真实姓名
    private Integer status;//审核状态

    @Transient
    private User user;

}
